<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libsoup-2.68.3
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;17.&nbsp;Networking Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libndp.html" title="libndp-1.7">Prev</a>
          <p>
            libndp-1.7
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtirpc.html" title=
          "libtirpc-1.2.5">Next</a>
          <p>
            libtirpc-1.2.5
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libsoup" name="libsoup"></a>libsoup-2.68.3
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libsoup
        </h2>
        <p>
          The <span class="application">libsoup</span> is a HTTP
          client/server library for <span class="application">GNOME</span>.
          It uses GObject and the GLib main loop to integrate with
          <span class="application">GNOME</span> applications and it also has
          an asynchronous API for use in threaded applications.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/libsoup/2.68/libsoup-2.68.3.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/libsoup/2.68/libsoup-2.68.3.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/libsoup/2.68/libsoup-2.68.3.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/libsoup/2.68/libsoup-2.68.3.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 29ee2ee7017945b64ede063b1396011c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 19 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.3 SBU (Using parallelism=4; with
                tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libsoup Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="glib-networking.html" title=
          "glib-networking-2.62.3">glib-networking-2.62.3</a>, <a class=
          "xref" href="libpsl.html" title="libpsl-0.21.0">libpsl-0.21.0</a>,
          <a class="xref" href="../general/libxml2.html" title=
          "libxml2-2.9.10">libxml2-2.9.10</a> and <a class="xref" href=
          "../server/sqlite.html" title="SQLite-3.31.1">SQLite-3.31.1</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a> and
          <a class="xref" href="../general/vala.html" title=
          "Vala-0.46.6">Vala-0.46.6</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../server/apache.html" title=
          "Apache-2.4.41">Apache-2.4.41</a> (required to run the test suite),
          <a class="xref" href="../general/brotli.html" title=
          "brotli-1.0.7">Brotli-1.0.7</a>, <a class="xref" href="curl.html"
          title="cURL-7.68.0">cURL-7.68.0</a> (required to run the test
          suite), <a class="xref" href="../postlfs/mitkrb.html" title=
          "MIT Kerberos V5-1.18">MIT Kerberos V5-1.18</a> (required to run
          the test suite), <a class="xref" href="../general/gtk-doc.html"
          title="GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href=
          "../general/php.html" title="PHP-7.4.2">PHP-7.4.2</a> compiled with
          XMLRPC-EPI support (only used for the XMLRPC regression tests) and
          <a class="xref" href="samba.html" title=
          "Samba-4.11.6">Samba-4.11.6</a> (ntlm_auth is required to run the
          test suite).
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libsoup">http://wiki.linuxfromscratch.org/blfs/wiki/libsoup</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libsoup
        </h2>
        <p>
          Install <span class="application">libsoup</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd    build &amp;&amp;

meson --prefix=/usr -Dvapi=enabled -Dgssapi=disabled .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>. Two hsts tests are known to fail.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <code class="option">-Dvapi=disabled</code>: use this if you have
          not installed <span class="application">Vala</span>, e.g. because
          you are not building <span class="application">GNOME</span>.
        </p>
        <p>
          <code class="option">-Ddoc=enabled</code>: Use this option if you
          want to build the documentation. Note that you must have <a class=
          "xref" href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a> installed.
        </p>
        <p>
          <em class="parameter"><code>-Dgssapi=disabled</code></em>: libsoup
          defaults to building with GSSAPI support, which requires Kerberos
          (as does the test suite). If you are building GNOME or have
          kerberos installed, remove this switch.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libsoup-2.4.so and
              libsoup-gnome-2.4.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/libsoup-2.4,
              /usr/include/libsoup-gnome-2.4 and
              /usr/share/gtk-doc/html/libsoup-2.4</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libsoup-2" name="libsoup-2"></a><span class=
                    "term"><code class=
                    "filename">libsoup-2.4.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functions for asynchronous HTTP connections.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libsoup-gnome-2" name=
                    "libsoup-gnome-2"></a><span class="term"><code class=
                    "filename">libsoup-gnome-2.4.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides <span class="application">GNOME</span> specific
                    features.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 18:46:23 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libndp.html" title="libndp-1.7">Prev</a>
          <p>
            libndp-1.7
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtirpc.html" title=
          "libtirpc-1.2.5">Next</a>
          <p>
            libtirpc-1.2.5
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
